@border-color: #e3e3e3;

.previewForm{
  width: 1100px;
  margin: 20px auto;

  .form-title{
    margin: 0px auto;
    text-align: center;
    width: 98%;
    color: #333;
    font-weight: 400;
    border: 1px solid #f3f3f3;
    padding: 5px 0;
    background-color: #fff;
    box-shadow: 0 8px 10px 0 #ccc;
  }
}
.previewForm,
.previewModal{
  .preview-layoutBox {
    height: calc(100vh - 200px);
    border: 1px solid;
    border-color: @border-color;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px;
    margin: 10px;
    margin-top: 0;
    background-color: #fff;
    box-shadow: 0 8px 10px 0 #ccc;
    overflow: auto;

    .compItem {
      // min-height: 100px;
      transition: 0.1s;
      display: flex;
      flex-direction: column;
      background-color: #fff;
      // border: 1px solid #ccc;
      border-radius: 4px;
      padding: 5px 10px;

      .tit{
        // padding: 5px 10px;
        font-size: 16px;
        padding-bottom: 0;
        margin-bottom: 4px;
        margin-right: 10px;
        display: flex;
        white-space: nowrap;
        .req{
          color: crimson;
        }
      }
      .item{
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
      }
      .desc{
        width: 100%;
        font-size: 12px;
        color: #999;
        padding-top: 0;
        margin-top: 5px;
        word-wrap:break-word;
      }
      .dragUpload{
        // width: 1000px;

        .icon{
          font-size: 24px;
          color: darkseagreen;
        }
        .text{
          font-size: 14px;
          color: #666;
        }
        .ant-upload.ant-upload-drag .ant-upload{
          padding: 0;
        }
      }
      .splitLine{
        display: flex;
        flex-direction: column;
        .tit{

        }
        .divider{
          height: 1px;
          margin: 5px 0;
        }
        .splitDesc{
          font-size: 12px;
          color: #999;
        }
      }
    }
    .compItem-inline{
      flex-direction: row;
      flex-wrap: nowrap;
    }
    .width-1{ width: 100%; }
    .width-2{ width: 75%; }
    .width-3{ width: 50%; }
    .width-4{ width: 33.3333%; }
    .width-5{ width: 25%; }
  }

  .btns{
    text-align: center;
  }
}
